package com.hongxun.project.assets.iMaterial.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongxun.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 配电材料表 i_material
 * 
 * @author hongxun
 * @date 2019-03-19
 */
public class IMaterial extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String id;
	/** 所属材料ID */
	private String bMaterialId;
	/** 变压器ID */
	private String byqId;
	/** 线路ID */
	private String lineId;
	/** 点位ID */
	private String pointId;
	/** 大类 */
	private String bigType;
	/** 中类 */
	private String midType;
	/** 标签 */
	private String lable;
	/** 名称 */
	private String name;
	/** 规格型号 */
	private String modle;
	/** 物质编码 */
	private String code;
	/** 单位 */
	private String unit;
	/** 价格 */
	private BigDecimal price;
	/** 数量 */
	private BigDecimal count;
	/** 技术参数 */
	private String techParameter;
	/** 发布状态 */
	private String releaseStatus;
	/** 新增时间 */
	private Date addDate;
	/** 新增人 */
	private Integer addUser;
	/** 更新人 */
	private Integer updateUser;
	/** 更新时间 */
	private Date updateDate;
	/** 数据状态 */
	private String datastate;
	/** 架空线路长度 */
	private Double newCounts;
	/** 电缆线路名称 */
	private String twoName;
	/** 电缆线路长度 */
	private Double newTwoCounts;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setBMaterialId(String bMaterialId) 
	{
		this.bMaterialId = bMaterialId;
	}

	public String getBMaterialId() 
	{
		return bMaterialId;
	}
	public void setByqId(String byqId) 
	{
		this.byqId = byqId;
	}

	public String getByqId() 
	{
		return byqId;
	}
	public void setLineId(String lineId) 
	{
		this.lineId = lineId;
	}

	public String getLineId() 
	{
		return lineId;
	}
	public void setPointId(String pointId) 
	{
		this.pointId = pointId;
	}

	public String getPointId() 
	{
		return pointId;
	}
	public void setBigType(String bigType) 
	{
		this.bigType = bigType;
	}

	public String getBigType() 
	{
		return bigType;
	}
	public void setMidType(String midType) 
	{
		this.midType = midType;
	}

	public String getMidType() 
	{
		return midType;
	}
	public void setLable(String lable) 
	{
		this.lable = lable;
	}

	public String getLable() 
	{
		return lable;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setModle(String modle) 
	{
		this.modle = modle;
	}

	public String getModle() 
	{
		return modle;
	}
	public void setCode(String code) 
	{
		this.code = code;
	}

	public String getCode() 
	{
		return code;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public void setCount(BigDecimal count)
	{
		this.count = count;
	}

	public BigDecimal getCount()
	{
		return count;
	}
	public void setTechParameter(String techParameter) 
	{
		this.techParameter = techParameter;
	}

	public String getTechParameter() 
	{
		return techParameter;
	}
	public void setReleaseStatus(String releaseStatus) 
	{
		this.releaseStatus = releaseStatus;
	}

	public String getReleaseStatus() 
	{
		return releaseStatus;
	}
	public void setAddDate(Date addDate) 
	{
		this.addDate = addDate;
	}

	public Date getAddDate() 
	{
		return addDate;
	}
	public void setAddUser(Integer addUser) 
	{
		this.addUser = addUser;
	}

	public Integer getAddUser() 
	{
		return addUser;
	}
	public void setUpdateUser(Integer updateUser) 
	{
		this.updateUser = updateUser;
	}

	public Integer getUpdateUser() 
	{
		return updateUser;
	}
	public void setUpdateDate(Date updateDate) 
	{
		this.updateDate = updateDate;
	}

	public Date getUpdateDate() 
	{
		return updateDate;
	}
	public void setDatastate(String datastate) 
	{
		this.datastate = datastate;
	}

	public String getDatastate() 
	{
		return datastate;
	}

	public Double getNewCounts() {
		return newCounts;
	}

	public void setNewCounts(Double newCounts) {
		this.newCounts = newCounts;
	}

	public String getTwoName() {
		return twoName;
	}

	public void setTwoName(String twoName) {
		this.twoName = twoName;
	}

	public Double getNewTwoCounts() {
		return newTwoCounts;
	}

	public void setNewTwoCounts(Double newTwoCounts) {
		this.newTwoCounts = newTwoCounts;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bMaterialId", getBMaterialId())
            .append("byqId", getByqId())
            .append("lineId", getLineId())
            .append("pointId", getPointId())
            .append("bigType", getBigType())
            .append("midType", getMidType())
            .append("lable", getLable())
            .append("name", getName())
            .append("modle", getModle())
            .append("code", getCode())
            .append("count", getCount())
            .append("techParameter", getTechParameter())
            .append("releaseStatus", getReleaseStatus())
            .append("addDate", getAddDate())
            .append("addUser", getAddUser())
            .append("updateUser", getUpdateUser())
            .append("updateDate", getUpdateDate())
            .append("datastate", getDatastate())
            .toString();
    }
}
